import { Action } from "@ngrx/store";
import { Feature } from "../../models";


export enum FeatureActionTypes {
    FEATURE_SELECTED = '[Feature] Feature Selected!'
}

export class FeatureSelected implements Action {
    readonly type = FeatureActionTypes.FEATURE_SELECTED;
    constructor(public payload: Feature) {}
}

export type FeatureAction 
    = FeatureSelected;